{% extends "layout.html" %}

{% block title %}
    Login Page
{% endblock %}


{% block content %}
    <h1>Login Page</h1>
    <form action="/admin/login" method="post">
        <label for="username">用户名:</label>
        <input type="text" name="username" id="username"> <br><br>
        <label for="password">密码：</label>
        <input type="password" name="password" id="password"><br><br>
        <input type="submit" value="登录">
    </form>
    <span style="color: red">{{ get_flashed_messages() }}</span>
{% endblock %}


